<!--<?php
require_once template('header'); 
print <<<EOT
<!--右边开始-->
<div id="right">
	<table class="clst" align="center" cellpadding="0" cellspacing="1">
		<tr>
			<td class="tleft">$lang[friends_list]</td>
			<td class="tright"><a href="admincp.php?module=$module&action=add" class="but1">$lang[add_link]</a></td>
		</tr>
	</table>
	<form name="links" action="admincp.php?module=$module" method="post">
	<input type="hidden" name="action" value="del" />	
	<table cellpadding="0" cellspacing="1" class="list">
		<tr>
			<th width="5%"></th>
			<th width="8%">$lang[display_order]</th>
			<th width="25%">$lang[web_name]</th>
			<th width="26%">$lang[website_link]</th>
			<th width="26%">$lang[description]</th>
			<th width="10%">$lang[operation]</th>
		</tr>
<!--
EOT;
foreach ($links_rt as $val){
print <<<EOT
-->		
		<tr  id="r$val[id]">
			<td><input name="uid_check[]" type="checkbox" value="$val[id]" /></td>
			<td>$val[displayorder]</td>
			<td>$val[name]</td>
			<td class="td1"><a href="$val[url]" target="_blank">$val[url]<span style="width:auto;">$val[logo]</span></a></td>
			<td>$val[note]</td>
			<td><a href="$val[edit]">$lang[laws]</a> | <a href="javascript:;" onclick="remove('$val[id]','$val[del]');">$lang[remove]</a></td>
		</tr>
<!--
EOT;
} print <<<EOT
-->	
	</table>
	<div id="page"><b style="float:left;"><input type="checkbox" name="chkall" id="chkall" value="" onclick="checkall(this.form)" />$lang[select_all]<input name="del" type="submit" id="del" value="$lang[delete_selected]" onclick="return really()"  class="inp" />
	</b><span>$page_list</span></div>
</form>	
</div>
<!--
EOT;
?>-->